home *** CD-ROM | disk | FTP | other *** search
/ One Click 21 (Special) / OC021.iso / Juegos / Super Fighter / Super Fighter.swf / scripts / DefineButton2_544 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2006-02-03  |  434 b   |  23 lines

  1. on(release){
  2.    setProperty("/gegner", _X, "125.1");
  3.    setProperty("/mae", _X, "421.9");
  4.    setProperty("/health1", _X, "63");
  5.    setProperty("/health2", _X, "490");
  6.    tellTarget("/health1")
  7.    {
  8.       gotoAndStop(1);
  9.    }
  10.    tellTarget("/health2")
  11.    {
  12.       gotoAndStop(1);
  13.    }
  14.    move_gegner = "0";
  15.    zufall -= "6";
  16.    power += "3";
  17.    if(level < "5")
  18.    {
  19.       level += "1";
  20.    }
  21.    gotoAndPlay(161);
  22. }
  23.